package deepr;

import com.alibaba.fastjson.JSONObject;
import lombok.extern.slf4j.Slf4j;

import java.util.HashMap;

@Slf4j
public class ReplyLib {

    public static HashMap<String, Object> replyOk(JSONObject content) {
        HashMap<String, Object> map = new HashMap<>();

        map.put("result", "succeed");
        map.put("content", content);
        log.info("map: {}", map);
        return map;
    }
}
